/**
 * @version v1.0
 * @Description:
 * @Author zhanzhongxin
 * @Date 2021/7/6 14:58
 * @Copyright 博为峰
 */
public class Demo04 {
    public static void main(String[] args) {
        //赋值运算符 = += -= *= /= %=

        int a = 6, c, d;
        a = c = d = 20;

        int e = 10;
        e += 6;//e = e + 6
//        System.out.println("e = " + e);

        short s = 10;
//        s = (short)(s + 20);//s提升为int + 20 = int
        s += 20;
    }
}
